/**
* All Rights Reserved , Copyright (C) 2020 , 青岛鼎信通讯股份有限公司
*
* IMeetPersonRecordService
* 会议人员记录
*
* 修改纪录
* 2020-10-31 版本：1.0 donghang 创建。
* @version 版本：1.0
* @author 作者：donghang
* 创建日期：2020-10-31
*/

package com.topscomm.meet.service;

import java.util.List;
import java.util.Map;

import com.topscomm.meet.IMeetService;
import com.topscomm.meet.dao.IMeetPersonRecordDao;
import com.topscomm.meet.pojo.MeetPersonRecordEntity;
import com.topscomm.tap.common.SessionUserBean;

public interface IMeetPersonRecordService extends IMeetService<MeetPersonRecordEntity, IMeetPersonRecordDao> {
	public List<Map<String, Object>> queryUserRecord(String meetId, String operateState);

	public void insertDataList(String meetid, List<Map<String, Object>> userList);

	/**
	  *  签到
	  * @date 2022/8/31
	  * @throws
	  * @modify
	  */
	public void sign(String meetid,String replaceusercode, String replaceusername);

	/**
	 *  指派
	 * @date 2022/8/31
	 * @throws
	 * @modify
	 * @param meetid
	 * @param usercode
	 * @param username
	 */
	public String assign(String meetid, String usercode, String username);

	/**
	  * 删除会议当前人所指派的所有人
	  * @author xinfushuo
	  * @param
	  * @throws
	  * @return
	  * @date 2023/3/24
	  * @modify
	  */
	void deleteByAssignUser(String meetid, SessionUserBean userBean, String usercode, String username);

	/**
	 *  邀请
	 * @date 2022/8/31
	 * @throws
	 * @modify
	 */
	public String invite(String meetid, String usercode, String username);
	/**
	 *  主动参加
	 * @date 2022/8/31
	 * @throws
	 * @modify
	 */
	public void join(Map<String, Object> dataMap);

	/**
	 * 获取人员统计
	 * @date 2022/8/31
	 * @throws
	 * @modify
	 */
	public Map<String, Object> getPersonStaticCount(Map<String, Object> dataMap);
	/**
	 *  是否已参会
	 * @date 2022/8/31
	 * @throws
	 * @modify
	 */
	Boolean isAlreadySigned(String meetId, String repalceUserCode);
}
